package com.tarena.lbs.coupon.dao.repository.impl;

import com.tarena.lbs.coupon.dao.mapper.StockMapper;
import com.tarena.lbs.coupon.dao.repository.StockRepository;
import com.tarena.lbs.coupon.pojo.po.CouponStockPO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository

public class StockRepositoryImpl implements StockRepository {
    @Autowired
    private StockMapper stockMapper;
    @Override
    public void insert(CouponStockPO couponStockPO) {
        stockMapper.insert(couponStockPO);
    }
}
